package com.hmall.order.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hmall.order.mapper.TbOrderDetailMapper;
import com.hmall.order.pojo.TbOrderDetail;
import com.hmall.order.service.TbOrderDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
*
*/
@Service
public class TbOrderDetailServiceImpl extends ServiceImpl<TbOrderDetailMapper, TbOrderDetail>
implements TbOrderDetailService {

    @Autowired
    TbOrderDetailServiceImpl tbOrderDetailService;
    @Override
    @Transactional
    public boolean saves(TbOrderDetail td) {
        boolean save = tbOrderDetailService.save(td);
        return save;
    }
}
